package Box2D.Collision
{
	import Box2D.Common.b2Wrapper;
	
	public class b2SimplexCache extends b2Wrapper
	{
		public function b2SimplexCache()
		{
			super(callDirect('b2SimplexCache_new'));
		}
		
		public function get metric():Number{return getNumber(0)}
		public function set metric(value:Number):void{setNumber(0,value)}
		
		public function get count():uint{return getUInt16(4)}
		public function set count(value:uint):void{setUInt16(4,value)}		
		
		// position: 0-2
		public function getIndexA(index:int):uint{return getUInt8(6+index)}
		public function setIndexA(index:int,value:uint):void{setUInt8(6+index,value)}
		
		//position: 0-2
		public function getIndexB(index:int):uint{return getUInt8(9+index)}
		public function setIndexB(index:int,value:uint):void{setUInt8(9+index,value)}
	}
}